home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form frmCntr
- BackColor = &H8000000F&
- Caption = "Center Form"
- ClientHeight = 3615
- ClientLeft = 2730
- ClientTop = 1485
- ClientWidth = 5730
- Height = 4020
- Left = 2670
- LinkTopic = "Form1"
- ScaleHeight = 3615
- ScaleWidth = 5730
- Top = 1140
- Width = 5850
- Begin Label lblCntr
- BackColor = &H8000000F&
- Caption = "Form is Centered"
- Height = 195
- Left = 2205
- TabIndex = 0
- Top = 1560
- Width = 1440
- End
- Sub Form_Load ()
- 'Center form on screen.
- Left = (Screen.Width - Width) \ 2
- Top = (Screen.Height - Height) \ 2
- End Sub
-